package com.example.day20_zhongji.not;


import com.example.day20_zhongji.bean.ArticleBean;
import com.example.day20_zhongji.bean.BannerBean;

import io.reactivex.Observable;
import retrofit2.http.GET;

public interface ApiService {
   String url="https://www.wanandroid.com/";
   @GET("article/list/1/json")
    Observable<ArticleBean> getarticle();
   @GET("banner/json")
    Observable<BannerBean> getbanner();
}
